﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entities.CommandPersist
{
    public class CommandDbContext : DbContext
    {
        public CommandDbContext() : base("name=CqrsEsMvc.CommandDbContext")
        {
        }

        public System.Data.Entity.DbSet<Entities.CustomerEntity> Customers { get; set; }

        public System.Data.Entity.DbSet<Entities.OrderEntity> Orders { get; set; }

        public System.Data.Entity.DbSet<Entities.OrderItemEntity> OrderItems { get; set; }

        public System.Data.Entity.DbSet<Entities.ProductEntity> Products { get; set; }
    }
}
